home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / util / restools.sit / ResTools 3.20.rsrc / HTXT_6_Resource Syntax_ < prev    next >
Text File  |  1988-12-28  |  844b  |  24 lines

  1. The syntax of resources in similiar to that of C structures. To get the 
  2. syntax of a specific supported resource type use the template menu to 
  3. insert a template of the desired type into an editing window. Modify the 
  4. syntax as needed. The types of resources are directly supported. User
  5. defined resources can also be defined.
  6. 
  7.     ALRT    ANYB    BNDL    CNTL
  8.     CODE    CURS    DITL    DLOG        
  9.     FWID    TEXT    FREF    ICON    
  10.     ICN#    HEXA    MBAR    MENU
  11.     PAT    PAT#    PICT    SICN    
  12.     SIZE    STR     STR#    WIND    
  13.     sysz     nrct    mach
  14. 
  15. In general, resources are enclosed in brackets that are preceeded by the
  16. keyword 'resource' followed by the resource type, followed by the attributes
  17. enclosed in parenthesis. Within the parenthesis are the ID number
  18. and any other optional attributes. See format below:
  19. 
  20. resource 'TYPE' (128, preLoad, purgeable)
  21. {
  22.     definitions...
  23. } 
  24.